package com.ms3ds.deviceData.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ms3ds.common.core.annotation.Excel;
import com.ms3ds.common.core.web.domain.BaseEntity;

/**
 * 位移数据对象 moving_data
 * 
 * @author zlw
 * @date 2025-09-21
 */
public class MovingData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 区域id */

    private Long areaId;

    @Excel(name = "区域名")
    private String areaName;

    /** x位移量(初始为0) */
    @Excel(name = "x位移量(初始为0)")
    private Long xMoving;

    /** y位移量(初始为0) */
    @Excel(name = "y位移量(初始为0)")
    private Long yMoving;

    /** z位移量(初始为0) */
    @Excel(name = "z位移量(初始为0)")
    private Long zMoving;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }

    public void setxMoving(Long xMoving) 
    {
        this.xMoving = xMoving;
    }

    public Long getxMoving() 
    {
        return xMoving;
    }

    public void setyMoving(Long yMoving) 
    {
        this.yMoving = yMoving;
    }

    public Long getyMoving() 
    {
        return yMoving;
    }

    public void setzMoving(Long zMoving) 
    {
        this.zMoving = zMoving;
    }

    public Long getzMoving() 
    {
        return zMoving;
    }

    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("xMoving", getxMoving())
            .append("yMoving", getyMoving())
            .append("zMoving", getzMoving())
            .append("time", getTime())
            .toString();
    }
}
